package org.jeecgframework.boot.springaimcpservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ut_shield")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class Shield implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)

    private String id;
    /**创建人*/

    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private Date createTime;
    /**更新人*/

    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private Date updateTime;
    /**所属部门*/

    private String sysOrgCode;
    /**品牌*/

    private String brand;
    /**盾构类型*/

    private String shieldType;
    /**盾构编号*/

    private String shieldCode;
    /**出厂日期*/

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private Date productionDate;
    /**序号*/

    private String orderNo;
    /**新旧程度*/

    private String status;
    /**重造源*/
//    @Excel(name = "重造源", width = 15)

    private String souShieldId;

    private String souShieldCode;

    /**创建人*/
    private String  knowledgeNumber;

}

